package cn.iocoder.yudao.module.system.controller.admin.examscore.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;

@Schema(description = "管理后台 - 考试成绩统计 Response VO")
@Data
@Builder
public class ExamScoreStatisticsRespVO {

    @Schema(description = "参考人数", requiredMode = Schema.RequiredMode.REQUIRED, example = "45")
    private Long totalCount;

    @Schema(description = "平均分", requiredMode = Schema.RequiredMode.REQUIRED, example = "580.5")
    private BigDecimal avgScore;

    @Schema(description = "最高分", requiredMode = Schema.RequiredMode.REQUIRED, example = "720.0")
    private BigDecimal maxScore;

    @Schema(description = "最低分", requiredMode = Schema.RequiredMode.REQUIRED, example = "420.0")
    private BigDecimal minScore;

    @Schema(description = "及格人数", example = "38")
    private Long passCount;

    @Schema(description = "及格率", example = "84.4")
    private BigDecimal passRate;

    @Schema(description = "优秀人数", example = "15")
    private Long excellentCount;

    @Schema(description = "优秀率", example = "33.3")
    private BigDecimal excellentRate;

}